about dialog: protect against gtk_widget_show_all
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2014 02:15:52 +0000 (21:15 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2014 02:15:52 +0000 (21:15 -0500)
Normally, a GtkAboutDialog is shown using the convenience
API. But if you manually construct one and show it by calling
gtk_widget_show_all() on it, the license tab would show up
uninvited. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=724411

gtk/resources/ui/gtkaboutdialog.ui

index a5e72959864a42fe1aa0d75cb3f6ff0b679321e1..30050de208eebdbf242ae7b35e2470f4568d0cdd 100644 (file)
                 <child>
                   <object class="GtkBox" id="credits_page">
                     <property name="visible">False</property>
+                    <property name="no-show-all">True</property>
                     <property name="can_focus">False</property>
                     <property name="orientation">vertical</property>
                     <property name="spacing">8</property>
                 <child>
                   <object class="GtkBox" id="license_page">
                     <property name="visible">False</property>
+                    <property name="no-show-all">True</property>
                     <property name="can_focus">False</property>
                     <property name="orientation">vertical</property>
                     <property name="spacing">8</property>